<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" >
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<div th:replace="layout/header :: header">...</div>
<h3 th:text="${userModel.title}">Welcome to springboot</h3>
<div>
  <p><strong>ID:</strong><span id="id" th:text="${userModel.user.id}"></span></p>
  <p><strong>Age:</strong><span id="id" th:text="${userModel.user.age}"></span></p>
  <p><strong>Name:</strong><span id="id" th:text="${userModel.user.name}"></span></p>
</div>

<div>
  <a  th:href="@{'/users/delete/' + ${userModel.user.id} }">删除</a>
  <a  th:href="@{'/users/modify/' + ${userModel.user.id} }">修改</a>
</div>

<div th:replace="~{layout/footer :: footer}">...</div>

</body>
</html>
